2.8 [OptionRom] Sections
The EDK II [OptionRom]
sections allow for extending the FDF for processing of
standalone legacy PCI Option ROM images or stand-alone UEFI PCI Option ROM
images. A required modifier, DriverName, will specify where in the build's FV
directory, the OptionROM file will be placed.
If the user is only creating PCI Option ROM images, then the [FV]
and [FD]
sections are not required. If an FD and FV sections exist, then the tools will
create the FD image as well as the Option ROM image. If they are not in the FDF
file, then they will only generate the Option ROM image.
Each [OptionRom]
section terminates with either the start of another section,
or the end of the file. The [OptionRom]
section header usage is shown below.
[OptionRom.ROMName]
If more than architecture (for example, IA32 and EBC) for the driver is to be bundled in an option rom file, then more than one INF entry (specified by the USE option) can be used to include the other architecture.
Having different sections for the same option rom driver for different architectures is not permitted.
This is an optional section for platform images.